package com.fh.shop.service.impl;/**
 * 描述:
 * Author:袁亚强
 * Date:2021/12/1312:57
 */

import com.fh.shop.service.TypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * created by macro on 2021/12/13,
 */
@Service
public class TypeServiceImpl implements TypeService {
    @Autowired
    private RedisTemplate redisTemplate;

    @Override
    public String typeData() {

        return (String) redisTemplate.opsForValue().get("typeData");
    }
}
